Conversation
MoringLotus
commented
Apr 8, 2026
- 当前工作: 统一所有的parser到base_config中(python/infinilm/base_config.py), 支持通过infinilm.base_config来使用配置类
- 下一步开展对args的处理,对现有的几个代表性的script使用base_config进行简化
wooway777
left a comment
There was a problem hiding this comment.
大致上可以接着写,有一些参数的可选项相对于之前的版本有变化,需要更新/补充。
然后后面应该先接着这个pr继续写,替换掉目前四个入口里的argument parsing,以可以跑通的单位合并。
| - 编译并安装 `InfiniLM` | ||
|
|
||
| ```bash | ||
| xmake && xmake install |
There was a problem hiding this comment.
好的,会在后面PR中移除该文件和上面README.md的修改
| import sys | ||
| import os | ||
| sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../../scripts")) | ||
| from libinfinicore_infer import DeviceType |
There was a problem hiding this comment.
尽量不要引用这个,infinicore infer是旧版用的,新的尽量不要依赖。
|
修改内容: 测试用启动脚本: python examples/bench.py --model "model_weight" --enable-paged-attn --batch-size 4 --input-len 1024 --output-len 512 --device nvidia --warm_up |
ae7ee73 to
19f1920
Compare